package com.study.happystudy.mapper;

import com.study.happystudy.po.PointTransaction;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PointTransactionMapper {
    void insertPointTransaction(int userId, int points,String reason);

    List<PointTransaction> getPointTransactionByUserId(int userId);
    void updatePointTransaction(int userId, int points,String reason,String time);
    PointTransaction getPointTransactionById(int transactionId);
}
